package com.storlead.sjwt.controller;


import com.storlead.sjwt.model.Result;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

/**
 * @Author: Timo
 * @Date: 2019/3/21 14:22
 * @Description: 类用途：
 */
@RestController
@RequestMapping("/auth")
public class AuthController {

    @GetMapping("/index")
    public Result index() {
        return Result.success("欢迎回来");
    }

}
